//
//  ViewController.m
//  HuWoChat
//
//  Created by SZT on 16/1/27.
//  Copyright © 2016年 SZT. All rights reserved.
//

#import "ViewController.h"
#import "Masonry.h"

@interface ViewController ()



@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
 
    
    UILabel *label = [UILabel new];
    label.backgroundColor = [UIColor redColor];
    [self.view addSubview:label];
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
       
        make.left.equalTo(self.view.mas_left).with.offset(20);
                make.right.equalTo(self.view.mas_right).with.offset(-20);
                make.top.equalTo(self.view.mas_top).with.offset(20);
                make.bottom.equalTo(self.view.mas_bottom).with.offset(-20);

        
    }];
}

@end
